home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / eventdlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-16  |  2.0 KB  |  68 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                      */        
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10. // EventDlg.h : header file
  11. //
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CTCEventsDlg dialog
  15.  
  16. class CTCEventsDlg : public CDialog
  17. {
  18. // Construction
  19. public:
  20.     CTCEventsDlg(CWnd* pParent = NULL);    // standard constructor
  21.     ~CTCEventsDlg(); // TurboCAD SDK: make sure we release the application
  22.  
  23. // Dialog Data
  24.     //{{AFX_DATA(CTCEventsDlg)
  25.     enum { IDD = IDD_EVENTS_DIALOG };
  26.     //}}AFX_DATA
  27.  
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CTCEventsDlg)
  30.     protected:
  31.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  32.     //}}AFX_VIRTUAL
  33.  
  34. // Operations
  35. public:
  36.     void AppendText(LPCTSTR lpszText);
  37.     void Clear();
  38.  
  39. // Implementation
  40. protected:
  41.     HICON m_hIcon;
  42.     CEdit m_edit;
  43.  
  44.     // TurboCAD SDK:  Pointer to the running application.
  45.     IApplication* m_pIApplication;
  46.     DWORD m_dwEventConnection;
  47.     DWORD m_dwEventMask;
  48.  
  49.     IUnknown* CreateLocalServerObject();
  50.     IUnknown* GetActiveObject(BOOL* pbCreateInstance);
  51.     void ReleaseApp();
  52.     void ConnectEvents();
  53.     void DisconnectEvents();
  54.  
  55.     // Generated message map functions
  56.     //{{AFX_MSG(CTCEventsDlg)
  57.     virtual BOOL OnInitDialog();
  58.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  59.     afx_msg void OnPaint();
  60.     afx_msg HCURSOR OnQueryDragIcon();
  61.     afx_msg void OnConnectEvents();
  62.     afx_msg void OnExitApp();
  63.     afx_msg void OnClearResults();
  64.     //}}AFX_MSG
  65.     afx_msg void OnEventMask(UINT nID);
  66.     DECLARE_MESSAGE_MAP()
  67. };
  68.